How statistical modeling relates to machine learning and how to compare them